//#include<iostream>
//using namespace std;
//
//class  A
//{
//public:
//	int _name;
//};
//
//class B :public A 
//{
//public:
//	int age;
//};
//class C :public A 
//{
//public:
//	string sex;
//};
//class  D :public B,public C
//{
//};
//
//int main()
//{
//	D d1;
//	cout << sizeof(d1) << endl;
//	return 0;
//}

#include<iostream>
using namespace std;
class  Person
{
protected:
	int _name;
	int _age;
	int _sex;
};
class  Student:virtual public Person
{
public:
	int _ID;
};
class  Youth:virtual public Person
{
public:
	int _birthday;
};
class Student2022: public Student, public Youth
{
public:

};
int main()
{
	Student2022 s1;
	cout << sizeof(s1) << endl;
	return 0;
}